package com.ws.ssmzongjie3.service;

import com.ws.ssmzongjie3.bean.Collections;
import com.ws.ssmzongjie3.bean.Route;

import java.util.List;

public interface CollectionsService {
    int deleteCollectionById(Collections collection);
    int insertCollection(Collections collection);
    int updateCollectionById(Collections collection);
    Collections getCollectionById(Collections collection);
    List<Collections> listCollectionByUserId(Collections collection);
    int deleteCollection(Collections collection);
    List<Route> RouteWithCollectionCountMap(Route route);
    int countCollectionByRouteId(Integer route_id);
}
